import request from '@/utils/request.js';


//登录接口
export const userLoginService = ({username, password}) =>
    request.post('/login',{username, password})

//注册接口
export const userRegisterService = ({username, password}) =>
    request.post('/register',{username, password})
